﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyCommon;

namespace DataAccessLayer.DataInterfaces
{
    public interface IThietBiBaoHanh
    {
        IEnumerable<ThietBiBaoHanh> GetAllThietBiBaoHanh();
        IEnumerable<ThietBiBaoHanh> GetAllThietBiBaoHanhOrderByTen();
        ThietBiBaoHanh GetThietBiBaoHanhById(int Id);
        ThietBiBaoHanh GetLastRecord();
        bool UpdateThietBiBaoHanh(ThietBiBaoHanh ThietBiBaoHanh);
        bool InsertThietBiBaoHanh(ThietBiBaoHanh ThietBiBaoHanh);
        ReturnValue<bool> DelThietBiBaoHanh(int Id);
        ReturnValue<bool> DelThietBiBaoHanh(ThietBiBaoHanh ThietBiBaoHanh);
    }
}
